import Vue from 'vue'
import Vuex from 'vuex'

import Star from '../../static/music/test.mp3'
import PressAudio from '../../static/music/press.mp3'
import Wolong from '../../static/music/wolong.mp3'

import TestImg from '../../static/img/test.jpg'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    Time: '2000/01/01 星期一 00:00:00',
    MusicList: {
      star: Star,
      wolong: Wolong,
      1: Star,
      2: Star,
      3: Star,
      4: Star,
      5: Star,
      6: Star,
      7: Star,
      8: Star
    },
    MusicNumber: 10,

    EffectAudioList: {
      press: PressAudio
    },

    PlayingMusic: Star,
    PlayingMusicName: 'star',
    PlayingTimeList: null,

    ImageList: {
      test: TestImg
    },

    TimeList: {
      star: [4000, 4000, 4000, 4000, 4000],
      wolong: [1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 0, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 0, 1000, 1000, 1000, 1000, 0, 1000,
        1000, 1000, 1000, 1000, 1000, 1000, 2000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 3000, 1000, 1000, 1000, 1000, 1000,
        1000, 3000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 3000, 1000, 1000, 1000, 1000, 0, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 0, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 0, 1000, 1000, 1000, 1000, 0, 1000,
        1000, 1000, 1000, 1000, 1000, 1000, 2000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 3000, 1000, 1000, 1000, 1000, 1000,
        1000, 3000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 3000, 1000, 1000, 1000, 1000, 0, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 0, 1000, 1000, 1000, 1000, 1000,
        1000, 1000, 1000, 1000, 1000, 0, 1000, 1000, 1000, 1000, 0, 1000,
        1000, 1000, 3000, 1000, 1000, 1000, 1000, 1000,
        1000, 3000, 1000, 1000, 1000, 1000, 1000, 1000,
        1000, 3000, 1000, 1000, 1000, 1000, 0, 1000, 1000]
    },

    IsLogin: false,
    UserName: '',
    LoginTip: '',
    LoginTipShow: false
  }
})
